using OracleInternal.Common;

namespace OracleInternal.NotificationServices
{
	internal class CallBackThread : SupportClass.ThreadClass
	{
		private Subscriber s;

		private CallBack cb;

		private int cbmode;

		private Notification n;

		private bool shutdown;

		private const int ONETHREAD = 1;

		private const int THREADPERCB = 2;

		protected internal CallBackThread(Subscriber subs, CallBack cbo, Notification not)
		{
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097408, OracleTraceClassName.CallBackThread, OracleTraceFuncName.ctor);
			}
			shutdown = false;
			base.IsBackground = true;
			s = subs;
			cb = cbo;
			cbmode = 2;
			n = not;
			if (ProviderConfig.m_bTraceLevelPrivate)
			{
				Trace.Write(OracleTraceLevel.Private, (OracleTraceTag)2097664, OracleTraceClassName.CallBackThread, OracleTraceFuncName.ctor);
			}
		}

		public override void Run()
		{
		}

		protected internal virtual void set_shutdown()
		{
			shutdown = true;
		}
	}
}
